package com.zhengqing.design.create.factory_method._01.factory;

import com.zhengqing.design.create.factory_method._01.product.IProduct;
import com.zhengqing.design.create.factory_method._01.product.MysqlProduct;

/**
 * <p> 具体工厂类 </p>
 *
 * @author zhengqingya
 * @description
 * @date 2022/12/21 16:19
 */
public class MysqlFactory implements IFactory {

    @Override
    public IProduct getConnection() {
        return new MysqlProduct();
    }

}

